package com.baor.controller;

import com.baor.service.SUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/sys_user")
public class SysUserController {
    @Autowired
    private SUserService sUserService;
    @RequestMapping("/login")
    public Map<String,Object> login(){
        return sUserService.login();
    }
}
